using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json; 
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 特殊红冲流程发票明细表
    /// </summary>
    [SugarTable("NotesRedLetterApplyTableMain")]
    public class NotesRedLetterApplyTableMain : BaseHead
    {
         
        [JsonProperty("key")]
        public int key { get; set; }

        [JsonProperty("no")]
        public int no { get; set; }
        [JsonProperty("sellerCode")]
        public string sellerCode { get; set; }
        [JsonProperty("sellerName")]
        public string sellerName { get; set; }
        [JsonProperty("sellerNameNumber")]
        public string sellerNameNumber { get; set; }
        
        [JsonProperty("invoiceNumber")]
        public string invoiceNumber { get; set; }
        [JsonProperty("invoiceCode")]
        public string invoiceCode { get; set; }
        [JsonProperty("amountWithTax")]
        public decimal? amountWithTax { get; set; }
        [JsonProperty("tax")]
        public decimal? tax { get; set; }
        [JsonProperty("quantity")]
        public float? quantity { get; set; }
        [JsonProperty("amountWithOutTax")]
        public decimal? amountWithOutTax { get; set; }
        [JsonProperty("redLetterNumber")]
        public string redLetterNumber { get; set; }
        [JsonProperty("deviceSelectName")]
        public string deviceSelectName { get; set; }
        [JsonProperty("deviceSelectValue")]
        public string deviceSelectValue { get; set; }
        [JsonProperty("list28")]
        public string list28 { get; set; }
        [JsonProperty("list45")]
        public string list45 { get; set; }
        [JsonProperty("list92")]
        public string list92 { get; set; }
        [JsonProperty("list92State")]
        public bool? list92State { get;set; }
        [JsonProperty("flowtype")]
        public string flowtype { get; set; }
        [JsonProperty("applySerialNo")]
        public string applySerialNo { get; set; }
        [JsonProperty("redLetterType")]
        public string redLetterType { get; set; }
        [JsonProperty("invoiceType")]
        public string invoiceType { get; set; }
        [JsonProperty("invoiceTypeName")]
        public string invoiceTypeName { get; set; }
        [JsonProperty("isPaperInvoice")]
        public bool? isPaperInvoice { get; set; }
        [JsonProperty("invoiceDate")]
        public string invoiceDate { get; set; }
        [JsonProperty("systemInvoiceNumber")]
        public string systemInvoiceNumber { get; set; }
        [JsonProperty("invoiceAmountHasTax")]
        public decimal? invoiceAmountHasTax { get; set; }
        [JsonProperty("invoiceAmountNoTax")]
        public decimal? invoiceAmountNoTax { get; set; }
        [JsonProperty("invoiceTax")]
        public decimal? invoiceTax { get; set; }
        [JsonProperty("invoiceQuantity")]
        public float?  invoiceQuantity { get; set; }
        [JsonProperty("message")]
        public string message { get; set; }
        [JsonProperty("applyStatus")]
        public string applyStatus { get; set; }
        [JsonProperty("applyStatusText")]
        public string applyStatusText { get; set; }
        [JsonProperty("customVourcherNo")]
        public string customVourcherNo { get; set; }

        [JsonProperty("newRedInvoiceNumber")]
        public string newRedInvoiceNumber { get; set; }

        [JsonProperty("newRedInvoiceCode")]
        public string newRedInvoiceCode { get; set; }

        [JsonProperty("accountType")]
        public string accountType { get; set; } 
    }
}
